package io;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

public class Demo9 {
    public static void main(String[] args) throws IOException {
        try(Writer writer= new FileWriter("d:/text.txt",true)){
            writer.write("你好世界你好世界");
        }catch (IOException e){
            e.printStackTrace();
        }
    }
}
